<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>lhgdialog组件演示</title>
	<script type="text/javascript">
var DG = frameElement.lhgDG;

var next = function()
{
    alert('我是下一步按钮');
};

DG.addBtn( 'ok', '确定', function(){ alert('我是确定按钮'); });
DG.addBtn( 'next', '下一步', next );
DG.addBtn( 'removeCancel', '移除取消按钮', function(){ DG.removeBtn('dgcancelBtn'); });
	</script>
</head>

<body>
    <h3 id="txt" style="font-size:14px;padding:80px 0;text-align:center;">我的按钮栏增加了很了按钮</h3>

</body>
</html>